Extending the Well-Founded and Valid Semantics for Aggregation

نویسندگان

  • S. Sudarshan
  • Divesh Srivastava
  • Raghu Ramakrishnan
  • Catriel Beeri
چکیده

We present a very general technique for deening semantics for programs that use aggregation. We use the technique to extend the well-founded semantics and the valid semantics, both of which were designed to provide semantics for programs with negation, to handle programs that contain possibly recursive use of aggregation. The generalization is based on a simple but powerful idea of aggregation on three-valued multisets. The use of three-valued multisets makes our extended well-founded semantics, which we call aggregate-well-founded semantics, more intuitive than the extension of well-founded models by Van Gelder Van92]. Our semantics and Van Gelder's semantics agree on many programs, and on others our semantics provides results that Van Gelder says are intuitive and desirable, but that his semantics does not provide. The extended valid semantics, which we call the aggregate-valid semantics, generalizes the intuition behind several semantics presented earlier for aggregation; for instance, our semantics properly subsumes the semantics deened by Ganguly et al. GGZ91] for cost-monotonic programs. The rst author, on behalf of all those alphabetic-order challenged, led a successful crusade to have the names in reverse alphabetical order. The order does not reeect on the degree of contribution by the various authors. Extensions planned for the future include height and weight ordering of authors. y All communication may be addressed to the rst author.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Reasoning about Stable Models (and other Unstable Semantics)

The well-founded semantics and stable model semantics have proven popular semantics for logic programs. However, these semantics (and others) are not directly amenable to logical reasoning since logically equivalent logic programs may have different stable or well-founded models. Many natural simplifications are not universally valid. Furthermore, in some semantics – including the stable model ...

متن کامل

Aggregation and Well-Founded Semantics

Set-grouping and aggregation are powerful non-monotonic operations of practical interest in database query languages. We consider the problem of expressing aggregation via negation as failure (NF). We study this problem in the framework of partial-order clauses introduced in JOM95]. We show a translation of partial-order programs to normal programs that is very natural: Any cost-monotonic parti...

متن کامل

The Well-founded Semantics of Aggregation Extended Abstract

Common aggregation predicates have natural de nitions in logic, either as rst order sentences (min, max , etc.), or with elementary induction over a data structure that represents the relation (sum, count, etc.). The well-founded semantics for logic programs provides an interpretation of such de nitions. The interpretation of rst-order aggregates seems to be quite natural and intuitively satisf...

متن کامل

Strong Negation in Well-Founded and Partial Stable Semantics for Logic Programs

A formalism called partial equilibrium logic (PEL) has recently been proposed as a logical foundation for the well-founded semantics (WFS) of logic programs. In PEL one defines a class of minimal models, called partial equilibrium models, in a non-classical logic, HT . On logic programs partial equilibrium models coincide with Przymusinski’s partial stable (p-stable) models, so that PEL can be ...

متن کامل

Semantics of Logic Programs withAggregatesDavid

We investigate the semantics of aggregates (count, sum, : : :) in logic programs with function symbols and negation. In particular we address the meaning of programs with recursion through aggregation. We extend the two most successful semantic approaches to the problem of recursion through negation, well founded models and stable models, to programs with aggregates. We examine previously deene...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993